package controllers;

import java.util.Vector;

import javax.swing.table.AbstractTableModel;

import models.Odontologo;


public class MyTableVerOdontologos extends AbstractTableModel {
	
	private String[] columnNames = {"Odontologos Registrados"};
	private Vector<Odontologo> odontologos;
	
	public MyTableVerOdontologos (Vector<Odontologo> odontologos)
	{
		odontologos = odontologos;
	}
	
	public int getColumnCount(){
		return columnNames.length;
	}
	
	public int getRowCount() {
        return this.odontologos.size();
	}

	@Override
	public Object getValueAt(int rowIndex, int columnIndex) {
		// TODO Auto-generated method stub
		return null;
	}
	 
	
	
	
	 

}
